/PROG  TEST001
/ATTR
OWNER		= MNEDITOR;
COMMENT		= "";
PROG_SIZE	= 556;
CREATE		= DATE 25-05-01  TIME 14:35:12;
MODIFIED	= DATE 25-05-01  TIME 15:30:28;
FILE_NAME	= ;
VERSION		= 0;
LINE_COUNT	= 11;
MEMORY_SIZE	= 892;
PROTECT		= READ_WRITE;
TCD:  STACK_SIZE	= 0,
      TASK_PRIORITY	= 50,
      TIME_SLICE	= 0,
      BUSY_LAMP_OFF	= 0,
      ABORT_REQUEST	= 0,
      PAUSE_REQUEST	= 0;
DEFAULT_GROUP	= 1,*,*,*,*;
CONTROL_CODE	= 00000000 00000000;
/APPL
  SPOT : TRUE ; 
  SPOT Welding Equipment Number : 1 ;
/MN
   1:   ;
   2:  R[190]=1004    ;
   3:   ;
   4:   ;
   5:  SELECT R[190]=1001,CALL WRITE_ERROR('Gripper{1 is Not {2}',2,3,'Open') ;
   6:   ;
   7:  SELECT R[190]=1002,CALL WRITE_ERROR('WAIT FOR DI[{1}]= {2}',0,121,'ON') ;
   8:   ;
   9:  SELECT R[190]=1003,CALL WRITE_ERROR('Error Place No, GI[1] = {1}',2,R[1:Override]) ;
  10:   ;
  11:  SELECT R[190]=1004,CALL WRITE_ERROR('Int={1} Real={2} Str={3}',2,1001,3.1415,'Hello') ;
/POS
/END
